<div class="container-fluid form-horizontal">

	<div class="col-xs-12 col-md-12 mt10">

		<div class="col-xs-12 form-group" >
					<div class="col-xs-2">
						<label for="fxbt" class="pull-right text-right mt10">分享标题&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-6">
						<input type="text" name="fxbt" class="form-control form-inline" placeholder="分享标题" ng-model="salefrobj.share_title" />
					</div>
					<div class="col-sm-4 mt10">
						<font face="Courier" class="text-danger"></font>
					</div>	
				</div>
					<br/>
					<br/>
				<div class="col-xs-12 form-group" >
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">标签&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-6">					
						<input type="text" class="form-control" placeholder="标签之间请以逗号分隔开"
							ng-model="salefrobj.label">
					</div>
					<div class="col-sm-4 mt10">
						<font face="Courier" class="text-danger">各标签之间必须以逗号分隔开</font>
					</div>	
				</div>
				<div class="col-xs-12 form-group form-inline" ng-show="profit.productflag == '0'">

					 <div class="col-xs-2" ng-show="profit.productflag == '0'">
						<label for="lrl" class="pull-right text-right mt10">利润率&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>	
					<div class="col-md-1 mt10" style="width:20px" ng-show="profit.productflag == '0'">
						<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="1" ng-model="sss.type" ng-change="changeRadio(sss.type)"></label>
					</div>
					<div class="col-xs-2" ng-show="profit.productflag == '0'">
						<div class="input-group">							
							<input type="text" class="form-control" placeholder="利润率" min='0'
							ng-model="salefrobj.profit_ratio" value="0" ng-change="change()" ng-disabled="profit.flag == '1'">
							<span class="input-group-addon">%</span>
						</div>
					</div>
					<div class="col-xs-1" style="width:100px" ng-show="profit.productflag == '0'">
						<label for="lrl" class="pull-right text-right mt10">一级利润&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>	
					<div class="col-md-1 mt10" style="width:20px" ng-show="profit.productflag == '0'">
						<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="2" ng-model="sss.type" ng-change="changeRadio(sss.type)"></label>
					</div>
					<div class="col-xs-2" ng-show="profit.productflag == '0'">
						<div class="input-group">							
							<input type="text" class="form-control" placeholder="金额" min='0'
							ng-model="salefrobj.erjiprofit" value="0" ng-change="changeJe()" ng-disabled="profit.flag == '0'">
							<span class="input-group-addon">¥</span>
						</div>
					</div>
				</div>

				<div class="col-xs-12 form-group" ng-show="profit.productflag == '0'">
					<div class="col-xs-2">
						<label type="number" for="lrl" class="pull-right text-right mt10">利润&nbsp;&nbsp;&nbsp;&nbsp;</label>
						
					</div>
					<div class="col-xs-6">
						<div class="input-group col-xs-12">
							<input type="text" class="form-control" placeholder="利润" ng-model="salefrobj.profit" readonly>
						</div>
					</div>
					<div class="col-sm-4 mt10">
						<font face="Courier" class="text-danger">二级利润=(居游价-成本价)*(1-利润率)</font>
					</div>	
				</div>
			
					<br/>
					<br/>
				<div class="col-xs-12 form-group form-inline" ng-show="profit.productflag == '0'">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">红包金额&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2">
						<div class="input-group">
							<input type="number" class="form-control" placeholder="下限" min='0' step=""
							ng-model="salefrobj.rebate_lower">
							<span class="input-group-addon">元</span>							
						</div>
					</div>
					<div class="col-xs-1">
						<label for="lrl" class="pull-right text-right mt10">-----&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2">
						<div class="input-group">
							<input type="number" class="form-control" placeholder="上限" min='0' max="" 
							ng-model="salefrobj.rebate_unlimited">
							<span class="input-group-addon">元</span>							
						</div>
					</div>	
					<div class="col-sm-4 col-md-offset-1 mt10">
						<font face="Courier" class="text-danger">红包金额不能为负  下限-----上限</font>
					</div>						
				</div>

				<div class="col-xs-12 form-group form-inline" ng-show="profit.productflag != '0'">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">红包比例&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2">
						<div class="input-group">
							<input type="number" class="form-control" placeholder="下限" min='0' step=""
							ng-model="salefrobj.adult_rebate_lower">
							<span class="input-group-addon">%</span>							
						</div>
					</div>
					<div class="col-xs-1">
						<label for="lrl" class="pull-right text-right mt10">-----&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2">
						<div class="input-group">
							<input type="number" class="form-control" placeholder="上限" min='0' max="" 
							ng-model="salefrobj.adult_rebate_unlimited">
							<span class="input-group-addon">%</span>							
						</div>
					</div>	
					<div class="col-sm-4 col-md-offset-1 mt10">
						<font face="Courier" class="text-danger">红包比例不能为负  下限-----上限</font>
					</div>						
				</div>
					
					<br/>
					<br/>
				
				<div class="col-xs-12 form-group form-inline" >
					<div class="col-xs-2">				
						<label for="jf" class="pull-right text-right mt10">最高可用积分&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					
					<div class="col-sm-6 col-xs-12">
						<input type="number" name="fxbt" class="form-control form-inline" placeholder="积分"  min="0" ng-model="salefrobj.max_integral" />
					</div>
					<div class="col-sm-4 mt10">
						<font face="Courier" class="text-danger">此名称用于设置最高可用积分</font>
					</div>
				</div>
				<div class="col-xs-12 form-group form-inline">
					<div class="col-xs-2">				
						<label for="jf" class="pull-right text-right mt10">推荐指数排序&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					
					<div class="col-sm-6 col-xs-12">
						<input type="number" name="fxbt" class="form-control form-inline" placeholder="推荐指数排序"  min="0" ng-model="salefrobj.recommend_sort" />
					</div>
					<div class="col-sm-4 mt10">
						<font face="Courier" class="text-danger"></font>
					</div>
				</div>
				<div class="col-xs-12 form-group form-inline">
					<div class="col-xs-2">				
						<label for="jf" class="pull-right text-right mt10">商品类别&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>		
					<div class="col-sm-5 col-xs-12">
						<select class="form-control" ng-model="salefrobj.sale_genre" ng-options="data.code as data.label for data in typelist" style="width:150px">
							<option value="">请选择</option>
						</select>
					</div>
				</div>
				<div class="col-xs-12 form-group" ng-show="profit.productflag == '0'">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">推荐到首页&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2">
						<div class="input-group mt10">
							<label class="i-switch bg-success" ng-init="listobj.isSelected" style="margin-left:25%">
								<input type="checkbox" ng-model="listobj.isSelected" ng-change="onListChange(listobj.isSelected)">
								<i></i>
							</label>
						</div>
					</div>					
				</div>
				<div class="col-xs-12 form-group" ng-show="profit.productflag == '0'">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">推荐到搜索列表&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2">
						<div class="input-group mt10">
							<label class="i-switch bg-success" ng-init="obj.isSelected" style="margin-left:25%">
								<input type="checkbox" ng-model="obj.isSelected" ng-change="onChange(obj.isSelected)">
								<i></i>
							</label>
						</div>
					</div>					
				</div>
				<div class="col-xs-12 form-group" ng-show="profit.productflag == '0'">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">可否预约套票&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2">
						<div class="input-group mt10">
							<label class="i-switch bg-success" ng-init="yyobj.isSelected" style="margin-left:25%">
								<input type="checkbox" ng-model="yyobj.isSelected" ng-change="onYYChange(yyobj.isSelected)">
								<i></i>
							</label>
						</div>
					</div>					
				</div>
				<div class="col-xs-12 form-group" ng-show="profit.productflag == '0'">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">是否及时分润&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2">
						<div class="input-group mt10">
							<label class="i-switch bg-success" ng-init="profitobj.isSelected" style="margin-left:25%">
								<input type="checkbox" ng-model="profitobj.isSelected" ng-change="profitChange(profitobj.isSelected)">
								<i></i>
							</label>
						</div>
					</div>					
				</div>
				<div class="col-xs-12 form-group" ng-show="profit.productflag == '0'">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">是否出卡号卡密&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2" >
						<div class="input-group mt10">
							<label class="i-switch bg-success" ng-init="cardobj.isSelected" style="margin-left:25%">
								<input type="checkbox" ng-model="cardobj.isSelected" ng-change="cardChange(cardobj.isSelected)">
								<i></i>
							</label>
						</div>
					</div>					
				</div>

				<div class="col-xs-12 form-group">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">积分是否及时到账&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-2" >
						<div class="input-group mt10">
							<label class="i-switch bg-success" ng-init="integralobj.isSelected" style="margin-left:25%">
								<input type="checkbox" ng-model="integralobj.isSelected" ng-change="integralChange(integralobj.isSelected)" ng-disabled="profit.productflag != '0'"> 
								<i></i>
							</label>
						</div>
					</div>					
				</div>


				<div class="col-xs-12 form-group" ng-show="profit.productflag == '0'">
					<div class="col-xs-2">
						<label for="lrl" class="pull-right text-right mt10">商客商品详情&nbsp;&nbsp;&nbsp;&nbsp;</label>
					</div>
					<div class="col-xs-10">
					 	<div class="ueditor" ng-model="salefrobj.sk_imginfo"></div>      
					</div>					
				</div>

				<div class="form-group">
					<div class="col-sm-2 col-xs-12 col-md-offset-5 text-center">
						<button type="button" class="btn btn-primary btn-lg btn-block" ng-click="saleFrSetSave()">保存</button>
					</div>
				</div>
    </div>
</div>
    